package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 推荐商品表
 * 
 * @author manli
 * @email 
 * @date 2020-08-05 13:28:19
 */
@ApiModel(value = "推荐商品表")
@Data
public class RecommendGoods implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer recommendGoodsId;
	/**
	 * 活动类型id
	 */

    @ApiModelProperty(value = "活动类型id",dataType = "Integer")
	    private Integer activityTypeId;
	/**
	 * 商品id
	 */

    @ApiModelProperty(value = "商品id",dataType = "Integer")
	    private Integer goodsDefId;
	/**
	 * 状态 0 禁用 1 启用
	 */

    @ApiModelProperty(value = "状态 0 禁用 1 启用",dataType = "String")
	    private String status;
	/**
	 * 推荐开始时间
	 */

    @ApiModelProperty(value = "推荐开始时间",dataType = "Date")
	    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date activityStartTime;
	/**
	 * 推荐结束时间
	 */

    @ApiModelProperty(value = "推荐结束时间",dataType = "Date")
	    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date activityEndTime;


	/**
	 * 商品名
	 */

	@ApiModelProperty(value = "商品名",dataType = "String")
	private String goodsName;

	/**
	 * 主店名
	 */

	@ApiModelProperty(value = "主店名",dataType = "String")
	private String branchName;

	/**
	 * 分店名
	 */

	@ApiModelProperty(value = "分店名",dataType = "String")
	private String partnerName;
}
